<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"
	import="com.omazan.facace.models.UserSessionDetails"
	import="com.omazan.utils.Constants"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Sidebar</title>
</head>
<body>
	<div class="left-panel">

		<% UserSessionDetails userSessionDetails = (UserSessionDetails)session.getAttribute("userSessionDetails");
		  if(userSessionDetails==null) {%>
		<jsp:include page="DefaultMenu.jsp" flush="true"></jsp:include>
		<% } else if(userSessionDetails.getUserMenu()==Constants.adminMenu){ %>
		<jsp:include page="AdminMenu.jsp" flush="true"></jsp:include>
		<% } else if(userSessionDetails.getUserMenu()==Constants.custMenu){ %>
		<jsp:include page="CustomerMenu.jsp" flush="true"></jsp:include>
		<% } else if(userSessionDetails.getUserMenu()==Constants.empMenu){ %>
		<jsp:include page="EmpMenu.jsp" flush="true"></jsp:include> <%} %>
		
		<div class="gap"></div>
		<jsp:include page="LoginDetails.jsp" flush="true"></jsp:include>
	</div>

</body>
</html>